pp108 : Updating Web Services

Updating Web Services

This topic describes the procedure to update Web services.

After you generate a Web service, you may feel the need to enhance its functionality by adding more Web service operations to it or by updating the existing Web service operations. This can be achieved through the Web service generation wizard.

CAUTION
When you edit a Web service, ensure that the target namespace for all the Web service interfaces that you add or update remains the same.

  1. Select one of the following starting points:
    • In Workspace Documents (My Recent Documents), place the mouse pointer on (Web Service), click and select Actions > Add/Update Operations.
    • In Workspace Documents (Explorer), open <solution> > <project>, right-click (<Web service>) and select Add/Update Operations. The Web Service Generation wizard appears, displaying the name of the <Web service> on its title bar.
  2. On the wizard, from the Select the source drop-down list, select the type of Web service operation you want to generate. For details on each type that is listed, see topic Working with Web services.
  3. If you want to add or update Web service operations to the existing Web service interface, select the check box Overwrite to existing Web service interface and select the relevant Web service interface from the Select a Web service interfacedrop-down list.

    Note:
    Leaving the check box unselected will create a new Web service interface under the same Web service.

  4. Click Nextand provide relevant information depending upon the type of Web service operation that you intend to update/generate.

    Note:
    You need to enter details on several pages. Click Next on each page to move to the subsequent one and continue until you complete entering information on the wizard.

  5. Click Finish. The Web service Generation wizard closes.

The existing Web service operations are generated or new Web service operations are generated and added to the Web service.

After you complete this task:
You must publish the generated Web service operations to the organization and attach them to the related Service so that they can be used at run time.